from pydantic import BaseModel


class RuleModel(BaseModel):
    username: str
    title: str
    rules: list

class RuleUsername(BaseModel):
    username: str

class IEModel(BaseModel):
    username: str
    rules: list
    text: str
